<div class="dialogBox" ng-show="dialog.show">
	<div>
		<h4>{{titles[dialog.type]}}</h4>
		<div>{{dialog.message}}</div>
		<button ng-click="hide()">OK</button>
	</div>
</div>